pub async fn connect_with_stream(
stream: &mut TcpStream,
target_addr: impl ToTargetAddr,
user_pass: Option<(String, String)>,
) -> Result<(), Box<dyn Error>>Expand description
Perform SOCKS5 handshake and send CONNECT command through a TCP stream