UdpMessenger wasn't necessarily connecting to the client. Added code to connect if not already connected

Also moved the dns resolution up to controller so it happens only once
rather than for every call to SendMetrics

I also made changes to PerfTap to use the new names for NanoTube configuration settings, but that project should be updated to use the latest version of NanoTube before those changes can be committed or else the solution won't build.