code: func (s *Session) waitForSend(hdr header, body io.Reader) error {
  	errCh := make(chan error, 1)
  	return s.waitForSendErr(hdr, body, errCh)
  }
docs: // waitForSendErr waits to send a header, checking for a potential shutdown