Provide RPC chunking capabilities in the protocol
Currently there's a hack so that all protocol RPCs are chunked. This is transparent to the protocol. However, it'd be possible to let the protocol's RPC be defined as either needing to chunk or not.
There are some design decisions to be made first:
- What's the right default?
- How to expose it? (At what level?)
- What guidelines should be provided for protocol developers?