public static Proxy socksProxy(String host, int port) {
        return new Proxy(Proxy.Type.SOCKS, new InetSocketAddress(Objects.requireNonNull(host), port));
    }
public static Proxy socksProxy ( String host , int port ) { return new Proxy ( Proxy . Type . SOCKS , new InetSocketAddress ( Objects . requireNonNull ( host ) , port ) ) ; }
Create socks5 proxy