Use heap buffers for MessageToByteEncoders

This could be static