improved Client API (close() + unregister()) + fix to handle close & unregister events server-side
1.5.0