url: Add some lru_cache() decorators. Optimize idna check.
url: Reinstate normalize() convenience function.