add comet protocol support