Reimplementing forceDnsResolution() method w/o jdk1.7 method
Use local variable instead of getter
Merge pull request #2 from HubSpot/force_dns_on_reconnect

Force dns on reconnect