sockets: ensure we can bind to both ipv4 & ipv6 separately