Add dual-stack support for TCP transport.