socket.io refactor part 2... endpoints supported, sort of.