Router middleware for Femto.