Extend listen to enable IPv6 support.