fix parsing of ipv6 address when building sockaddr, we accept both
::1 and ipv6:::1 notation