WHAT: Checks connection also with "onLine" desktop navigator property when possible
WHY: To be able to run unit tests on a conventional navigator and forward compatibility
HOW: Using the "onLine" property of desktop navigator's navigator global object