Leave overflow logic to go-msgio
Leave overflow logic to go-msgio

go-msgio implements the message length limit (currently 8MB), so the
secio reader can get away without re-implementing this logic.

Instead, the reader lets go-msgio allocate a buffer when the output
buffer is too small to hold the incoming message. This buffer is kept
and drained into the output buffer(s) of Read() calls and released back
to the msgio instance once it is fully drained.

License: MIT
Signed-off-by: Randall Leeds <b303809df130880a9c942350c555edddd5bdabb3@bleeds.info>

ipfs/go-libp2p,libp2p/go-libp2p,zippy/go-libp2p,libp2p/go-libp2p