also apply SSL verification to HTTP proxy and socks5 transport