hack to make cube work with a fork of the old websocket server library