check that we can resolve the server hostname before handing it to Udp.BeginPacket - stops us hanging if the server is not in dns