Feature/middleware

Add basic middleware: Accept, Cache, Cookie, CsrfProtection, Encoding, ErrorHandler, L10n, Renderer, Safari304Workaround, Session and UAParser.