core: regroup libcurl constants/options by version
core: add constant for libcurl >= 7.38.0