Make channel socket available in event-msg-handler

This is a provisional pull-request that makes the changes proposed in https://github.com/ptaoussanis/sente/issues/68#