public static NetworkStream GetNetworkStream(HttpServer.IHttpResponse response)
        {
            HttpClientContext context = GetContext(response) as HttpClientContext;

            if (context != null)
            {
                var f = context.GetType().GetField("_stream", BindingFlags.Instance | BindingFlags.NonPublic);
                return(f.GetValue(context) as NetworkStream);
            }
            return(null);
        }