fn host_name(host_port: &str) -> &str
The host of a host[:port], keeping the brackets of an IPv6 address.
host[:port]