Refactor route path normalization and decouple it from the chi router. Fix the TODO, fix the legacy strange path behavior.