Use proper buffer type for MessageToByteEncoder