Adding p2p client and server logs and stablishing initial handshake.