refine rangefetch
Merge branch '3.0' of github.com:goagent/goagent into 3.0