expose entire socket rather than emitter function