Fixed endless loop bug and terminal spam

I fixed a severe bug in your implementation. I've also changed the default logger level to "INFO" to prevent too much terminal spam. 

Other than that, your socks proxy implementation works really good. It also allowed me to learn how SOCKS works. Thanks for that!