URL normalization utils