How I may connect to server using SOCKS5 protocol from my JavaScript code in browser? I've found socks5-https-client library but this is only for Node.js, not for browser JS. My goal is establish secure connection for SIP UDP or TCP protocol in SIP client in browser, but unfortunately SIP server behind proxy that offer SOCKS5 for SIP connections.