now use IPv4 TCP socket for stub