cleanup _newHttpOpts
mapping update