Fix SOCKS implementation again