exposed functions are now called in the same context as socket.io-context si passed to the exposed functions