Add SOCKS functionality.