better keep alive computation of headers
small comment change
small code change
small cod fix in proxy structure