I have tested the version of libcurl on iOS by using following code.
CCLog("curl version: %s", curl_version());
And it prints the right version in the output window of XCode.
Cocos2d: curl version: libcurl/7.26.0 zlib/1.2.5
So it seems that we upgraded the library but forgot to update the head files.