haveInternet function

Internet Connection Check