SOCKS socket ni TLS ye Node.js kɔnɔ
tls.connect bɛ socks package ka destination stream wrap, ka website hostname mara SNI ni certificate verification ye.
SocksClient.createConnection bɛ stream dɔ segin a destination la. HTTPS kama, o stream mago bɛ TLS handshake la kɔfɛ ka HTTP request ta.
Servername ye destination DNS tɔgɔ ye. Node tls.connect min bɛ low-level, o tɛ SNI da default la, proxy hostname fana tɛ website certificate identity ye.