Add method for distinguishing between mobile and WiFi connection