code: func (r *Response) CloseRequested() bool {
  	for _, h := range r.Headers {
  		if strings.EqualFold(h.Key, "Connection") {
  			return h.Value == "close"
  		}
  	}
  	return false
  }
docs: // CloseRequested returns if Reason includes a Connection: close header.