Construct an endpoint using a port number, specified in the host's byte
order. The IP address will be the any address (i.e. INADDR_ANY or in6addr_any).
This constructor would typically be used for accepting new connections.