Support extensions in Route matching

fixes #4.