impl url encode for spider
fix xml reader bug
fix compiler error for msvc abort