add the p2p server along with client