Only use Dns.GetHostEntry if IPAddress.TryParse fails - for performance reasons

http://netrsc.blogspot.de/2008/02/ipaddressparse127001-vs.html