navigator.connection polyfill