parseToUri

open fun parseToUri(networkProtocol: NetworkProtocol, hostPort: HostPort): URI