retaining the copyright notice of HttpRouter.
trie 算法和结构灵感来自 Julien Schmidt 的 HttpRouter.