add Emitter() mixin for client. Closes #8