Added write support into MessageTransport.