linking your applications against the SOCKS (Sockets) library, which replaces the system calls like bind() and socket() with special counterparts that talk to the SOCKS
server. socksifying is not necessary in Java because Java supports the v4 and
v5 protocols directly. All you need do is provide one or both properties socksProxyHost and socksProxyPort.
Oracle’s Technote Guide on network properties : available: