support reload atc
refine code for reload http api/stream