last fixes so that moonridge works with socket.io after 1.0.0 the same as with 0.9.16