Add curl_posturl and retain curl_geturl for API compat