code: func (p *httpStreamPair) printError(s string) {
  	p.lock.RLock()
  	defer p.lock.RUnlock()
  	if p.errorStream != nil {
  		fmt.Fprint(p.errorStream, s)
  	}
  }
docs: // printError writes s to p.errorStream if p.errorStream has been set.