fixes so that moonridge works with socket.io after 1.0.0