Host Port Split
Split host:port; optional default port.
Splits host and optional port, including [ipv6]:port. Optional default port when missing. Unlike Parse URL this is not a full URL parser. Bad ports fail.
Host: example.com
Port: 443
Has port: 1
Used default port: 0