BNPH-6149: allow to use system curl again, fix some types on auth_scheme values to all be long, don't use curl private function in our wrapper.  This may cause missing symbol curl_easy_setopt with visibility turned on, if it does that, please let me know