PHP: Using SOCKS4 with SSL connection – part 2 phptuts June 17, 2016 Part 1: PHP: Using SOCKS4 with SSL connection The solution is use function stream_socket_enable_crypto to turn encryption on an already connected socket: We change function… Continue Reading