Implement Amazon URL canonicalization.