Restore sending real hostname in UID message

At some point this behavior was lost from a previous commit