added error_on_failure param to carl_util_get_url_contents