smallSocks is a small SOCKS server implementation in Python, supporting the SOCKS 4 and 4a protocols.