Add APC support in curl_json plugin