stat method
Returns metadata pertaining to this stream
Implementation
@override
StreamStats stat() {
final underlyingStats = _underlyingMuxedStream.stat();
return StreamStats(
direction: _direction,
opened: _opened,
limited: underlyingStats.limited,
// protocol is handled by P2PStream.protocol()
);
}