Merge Middleware into StubServerMiddleware.