isConnected and Online Offline status update in getConnectedStatus

Jira Issue: WP-1164