Simple Socket.IO server side signalling helper logic