Issue a state event whenever the client state changes.