adapt the Baidu Push SDK to latest libcurl