socks.py