added check for network connectivity
use DNS lookup for network check
added log entry for network check
Merge branch 'master' into network-check

Conflicts:
	service.py
Merge pull request #16 from robweber/network-check

Merge network check changes