Added server module, and protocol now works as a chat.