Python P2P chat client and server