iOS: wire up "isConnected" to use when an app is backgrounded and brought back
up (to determine if the connection was lost in the meantime). Android coming.