use HostAndPort in domain parsing