Refactor buffers in tor-dirclient/src/lib.rs
Right now, the buffer used in tor-dirclient/src/lib.rs is a Vec<u8>
, and the code copies around inside it a lot.
It might be cool to change that to be a VecDeque instead, and not have to copy inside the buffer.