ec2.query: copying params dict so our headers don't leak between attempts