remove RequestMethod and dependency from net/http