hhb_curl_exec: verify that $url is a string