Update socks.py

Deleted a couple lines that weren't needed.