pub fn split_host_port(input: &str) -> Option<(String, u16)>
Splits a valid endpoint into host and port components.