added P2PServer, P2PClient, and ChatHandler code