codec: add Framed::read_buffer_mut (#2546)
codec: add Framed::read_buffer_mut (#2546)

Adds a method to retrieve a mutable reference to the Framed stream's read buffer.
This makes it possible to e.g. externally clear the buffer to prevent the codec from
parsing stale data.
tokio-rs/tokio,tokio-rs/tokio