Create a p2p based test with TCP sockets