Connect back to SOCKS4 server

Summary
It was possible to connect to the SOCKS4 server through itself. This allow anybody to saturate the proxy CPU, memory or file descriptors.
Solution
reconfigure your proxy so that it refuses connections to itself