private CustomAspNetChannel CreateUpperLayer(TcpLayer tcpLayer)
            {
                var channel = new CustomAspNetChannel(_server);

                channel.LowerLayer    = tcpLayer;
                channel.RequestEnded += new EventHandler(RequestEnded);
                return(channel);
            }
            public CustomAspNetChannelStack(TcpLayer tcpLayer)
            {
                _tcpLayer = tcpLayer;

                CustomAspNetChannel channel = new CustomAspNetChannel();
                channel.LowerLayer = tcpLayer;
                tcpLayer.UpperLayer = channel;

                channel.RequestEnded += new EventHandler(channel_RequestEnded);
            }