pub(crate) fn uri_to_host_port(uri: &Uri) -> Result<(String, u16), Error>
Parse the URI.
Obtain the host and port.