Modified the Appender such that it can be replaced by Symfony middleware

There is now possibility to use an alternate MiddlewareHandler that implements Symfony's HttpKernelInterface