Limit header size

Extra check for header size.
Move to 4.1

For the middleware and easier to maintain.
Use middleware instead of before/after

So we can also catch errors/404 etc
Remove old RouteCollector