set both read and write deadline in the stream handler
set both read and write deadline in the stream handler

A malicious peer could also block writes to a stream (for example by
withholding flow control credit).

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