internal ScriptInjectionFilterStream(IHttpSocketAdapter injectScriptSocket, IScriptInjectionFilterContext context)
        {
            _context            = context;
            _outputStream       = _context.ResponseBody;
            _injectScriptSocket = injectScriptSocket;

            _injectScriptSocket.SetResponseHandler(CreateResponseHandler(_outputStream));
        }
        private ScriptInjectionFilterStream CreateFilterStream(MockSocketAdapter socket, IScriptInjectionFilterContext context)
        {
            HttpSocketAdapter httpSocket = new HttpSocketAdapter("GET", new Uri("http://localhost:1234/abcd/injectScript"), socket);

            return(new ScriptInjectionFilterStream(httpSocket, context));
        }