MaxQueryStringMiddleware implemented to enforce a max query string length in requests.