cURL automatically handles Proxy rewrites, remove the "HTTP/1.0 200 Connection established" string