fn uriPort(uri: Uri, protocol: Protocol) u16
fn uriPort(uri: Uri, protocol: Protocol) u16 { return uri.port orelse protocol.port(); }