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

https://trello.com/c/NoHDPqHH