Also add DoutCurlEasyEntering debug macro. The caching is necessary because CURLINFO_EFFECTIVE_URL is unreliable and can change several times during the transfer at any moment (as a result of forwarding etc).