Added curl_slist struct for compilation
Added curl_slist_free_all function