remove dependence on wai-middleware-route