[curl] log effective URL
Merge pull request #5331 from wsnipex/curl_real_url

[curl] log effective URL