pub fn port_host(host: &[u8]) -> bool
An IPv4 address, or an IPv6 address in brackets.
PHP: Port::isValidHost() (private).
Port::isValidHost()