Creates a new SocketConnectable for connecting to the given uri.
May fail and return null in case parsing uri fails.
Using this rather than NetworkAddress or parse allows SocketClient to determine when to use application-specific proxy protocols.
| uri |
the hostname and optionally a port |
| default_port |
The default port if none is found in the URI |
|
the new NetworkAddress, or null on error |