pub fn with_context(context: Arc<ServiceContext>, client_addr: ServerAddr, balancer: PingBalancer) -> Self {
        Self {
            context,
            mode: Mode::TcpOnly,
            udp_expiry_duration: None,
            udp_capacity: None,
            tcp_redir: RedirType::tcp_default(),
            udp_redir: RedirType::udp_default(),
            client_addr,
            udp_bind_addr: None,
            balancer,
        }
    }
Create a new transparent proxy server with context
crates/shadowsocks-service/src/local/redir/server.rs