Add route tail matching.
Merge pull request #29 from plediii/enhance-route-tail

Add route tail matching.