replaced upload completion check using CURLINFO_EFFECTIVE_URL with
CURLINFO_CONTENT_UPLOAD sent/received comparison.