emit the client as well for self.events
pass socket to initer