Announce https servers into discovery using the hostname, not IP

This allows cert verification to work. Adds a local hostname field to NodeInfo
and make the event client/serializer use NodeInfo to determine the hostname.