Moved logic from scchannel to scsocket
Emit simplified event object