Send messages, client and server using socket in Python