adding tests for ipv6 addresses on URIs
handling IPv6 addresses on URIs

* very naïve and permissive regex to check for IPv6 addreses.
more tests for IPv6
parsing embedded IPv4 addresses
Merge pull request #1669 from brunoro/ipv6-uri

URI.parse supports IPv6 addresses