cURL client API implementing PHP cURL library