Simple generic socket.io chat server with namespace and room support