Changed back the default listenTcp() function to listen on both, IPv6 and IPv4, if possible.

At least on Windows, listening only on IPv6 caused IPv4 connections to fail as they are not forwarded automatically to the IPv6 device.