strip brackets from ipv6 addresses
add basic test for ipv6 addresses in URLs
add tests for invalid ipv6 URL
strip both brackets at once