Basic chat libraries for ChatClient and ChatServer