Fix simultaneous bind to ipv6 and ipv6 sockets.