Prevent NULL pointer fault when domain name cannot be resolved into an IP address
Merge pull request #53 from catwood/upstream

Prevent NULL pointer fault when domain name cannot be resolved