Determine if an internet connection is available