add emit method to SessionSockets