Server and Client of ChatSystem