add socks.py for ssl based proxy authentication