Fix typoes in protocol documentation.
Implement network.Handler.send as a middleware for serializing objects.