Fixes #1: allow trailing slashes in routes