/// <summary>
        /// Parse the Connection value from a http request
        /// </summary>
        /// <param name="line"></param>
        /// <returns></returns>
        public static HttpConnectionHeader Parse(string line)
        {
            HttpConnectionHeader ret = new HttpConnectionHeader();

            // split by comma
            string[] parts = line.Split(',').Select(s => s.Trim()).ToArray();
            for (int i = 0; i < parts.Length; i++)
            {
                // split by equals if there is
                string[] bits = parts[i].Split('=');
                if (StrComp(bits[0], "keep-alive"))
                {
                    ret.KeepAlive = true;
                }
                else if (StrComp(bits[0], "close"))
                {
                    ret.Close = true;
                }
            }

            return ret;
        }
 public HttpHeaders()
 {
     CacheControl = new HttpCacheControlHeader();
     Connection = new HttpConnectionHeader();
 }