Add host name and port number to HostMetadata