LifecycleEvent.CONNECTED and LifecycleEvent.DISCONNECTED added for clien...

...t