Fixed TransportMessageDispatcher to work with new serialization API.