Let URI build the URI since hostname= auto-wraps an ipv6 address in [].