pub fn close_and_shutdown( stream: &mut TcpStream, circuit: u32, gen: u32, client: bool, ) -> Result<()>
Send opcode-8 Close with envelope (circuit, gen) then TCP half-close.
(circuit, gen)