Add (failing) test to make sure default port is added automatically
Fix adding port to IPv6 addresses
Use parse_url() to check for port
Merge branch 'refs/heads/fix-dns-ipv6'