code: func NewBaseConn(c Carrier, maxWriteDelay time.Duration) *BaseConn {
  	return &BaseConn{
  		carrier: c,
  		stream:  packet.NewStream(c, c, maxWriteDelay),
  	}
  }
docs: // NewBaseConn creates a new BaseConn using the specified Carrier.