pub fn tcp_stream_configure<F>( tcp_stream: TcpStream, f: F, ) -> Result<TcpStream, Error>where F: Fn(Socket) -> Result<Socket, Error>,