fixes #788 - Emit events for registration, reregistration, disconnected