Represents remote endpoint with hostname and port.
The address will be resolved after construction.
if the hostname cannot be resolved.
Resolve current socket address.
Network address hostname.
Network address port.