Route incoming messages to the server thread