Made synchronous message handling on the server optional.