Try to bind IPv4 and IPv6 sockets whenever connectivity changes
This branch ensures that we try to bind IPv4 and IPv6 server sockets when we detect a connectivity change, even if one or the other is already bound. If suitable sockets are already bound we don't replace them.
Closes #1745 (closed)