Test bind() semantics of IPv6 sockets.