modify some thing for net/http package