connection class (internet connectivity tester)

staying alive class to ensure internet connectivity