code: func (h *RequestHeader) ConnectionUpgrade() bool {
  	h.parseRawHeaders()
  	return hasHeaderValue(h.Peek("Connection"), strUpgrade)
  }
docs: // ConnectionUpgrade returns true if 'Connection: Upgrade' header is set.