ReadBuffer
Buffers a continuous stdio stream into discrete JSON-RPC messages.
A single newline-terminated frame may not exceed an internal size cap (16 MiB): a peer that streams bytes without ever sending a newline triggers a TooLongFrameException from readMessage instead of growing the buffer without bound. A non-positive cap disables the check.