NAMEinspectsocks - This utility can be used to determine the protocol level of a SOCKS server.
SYNOPSISinspectsocks server [port]
DESCRIPTIONinspectsocks can be used to determine the SOCKS version that a server supports. Inspectsocks takes as its arguments the ip address/hostname of the SOCKS server and optionally the port number for socks. It then inspects that server to attempt to determine the version that server supports.
"inspectsocks socks.nec.com 1080" -- attempts to determine the version that the server supports