check_internet function

Check internet connection (re-export of curl::has_internet())