allow lazy event listener for socket.io