LifecycleEvent.CONNECTED and LifecycleEvent.DISCONNECTED added for client
added test for lifecycle event of client
added CLIENT_ prefix to event states
Merge pull request #1052 from gurbuzali/improvement/3.x/client-connection-events

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