Javadoc
We decode the message in the same context as the length decoding to better
manage running out of memory. We decode the rpc header using heap memory
(expected to always be available) so that we can propagate a error message
with correct coordination id to sender rather than failing the channel.