Prevent statsd-client from crashing when ip address is not resolvable from host name

The client crashes with SocketException when the call to Dns.GetHostEntry fails to resolve the ip address from the host name. The following commits catches the exception and prevents the client from crashing. Please let me know what you think.