Don't do DNS lookups on null hosts.
Merge pull request #547 from square/jwilson_0222_invalid_host

Don't do DNS lookups on null hosts.