fix #3141 Bridge creation when ipv6 is not enabled

Fixes #3141 Support both sockets when creating the bridge, IPv6 first than IPv4, this will cover the extreme case when you only support IPv6.