strip brackets from ipv6 addresses
add basic test for ipv6 addresses in URLs