A simple class to check for internet connection availability in Swift.