add IPV6_V6ONLY support to low-level sockets library