Always allow DNS resolution of local host to succeed, even if it is not literal "localhost"

This allows libraries to use InetAddress.getLocalHost() to get the hostname without
that counting as a DNS resolution
Update changes to reflect #1
Merge pull request #1 from stevenschlansker/local-host-always-allow

Always allow DNS resolution of local host to succeed