Updated chat_server.h to fix trim error for pointer -> int