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