Peer to Peer socket implementation