URI encode params and lowercase all headers