uri: add support for parsing IPV6 addresses in URI.

mongodb://[::1]:1234,[::2]:3456/ should now work.