This branch adds periodic connectivity checks to the JavaNetworkManager, which should allow us to detect and react to connectivity changes on JavaSE, like we do on Android.