Middleware to clean request's URI, and redirect if necessary. See documentation for how to use the library.