pub fn normalize_host_input(raw: &str) -> Result<String>
Strip scheme/path and reject empty hosts. Allows DNS names and host:port.
host:port