Peer-to-peer chat client and server