libCurl curl_easy_init() returns bogus pointer on iOS 10.x

I have a legacy Cocos2d-x 2.2.6 project that uses libCurl. On iOS 7.x to 9.x this works as expected. But on iOS 10.x it crashes because the CURLRaii constructor sets the m_curl pointer to a bogus value (0x1000000).

I am using:

Cocos2d-x 2.2.6
libCurl 7.26.0
Running on iOS 10.1.1

Is there a new libCurl library we can drop in? I know there are new libCurl versions on other websites, but the interface on the most recent appears to have changed so it can’t be easily hooked into Cocos2d-x 2.2.6 as far as I can tell.

Thanks