Fix connection to IPv6 URIs (#45)
Fix connection to IPv6 URIs (#45)

Connections directly to IPv6 URIs failed previously, such as tcp://[2a03:2880:f02d:12:face:b00c:0:3]:443.

It was interpreted as a host name which then is not valid.
amphp/socket,amphp/socket,rdlowrey/nbsock