add new CURL_OPTS config variable
change all curl invocations to reuse CURL_OPTS variable
Merge pull request #44 from dsanz/culr_improvements

culr_improvements