connect static method
Connects proxy client to given proxies with exit point of host:port.
Implementation
static Future<SocksSocket> connect(
List<ProxySettings> proxies,
InternetAddress host,
int port,
) async {
final client = await SocksSocket.initialize(proxies, host, port, SocksConnectionType.connect);
return client.socket;
}