Middleware to handle requests probing for a route