cURL error 56: CONNECT tunnel failed, response 502 (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)