cURL automatically handles Proxy rewrites, remove the "HTTP/1.0 200 Connection established" string. We need to remove this string, otherwise the parsing of the response fails