Add support for ppurl and xunlei