ConnectivityHelper()
Helper class to check connection status amd read out connection type. This code was taken from old sevenonemedia SDK.