pub fn bracket_ipv6_host(input: &str) -> String
Adds brackets around an IPv6 host and leaves other hosts unchanged.