Curl tweaks

This PR fixes a minor issue in Curl Stat causing it to have a too short timeout in some cases. This is probably a remnant of when Stat() and Exists() were roughly the same function. It furthermore improves the error logging for Curl, which should make inspecting (user) logs much easier for Curl related issues.