code: func (pn *peernet) handleNewStream(s inet.Stream) {
  	pn.RLock()
  	handler := pn.streamHandler
  	pn.RUnlock()
  	if handler != nil {
  		go handler(s)
  	}
  }
docs: // handleNewStream is an internal function to trigger the client's handler