Make Stream._ended public (Stream.ended), so users may rely on it

'ended' is only true when the stream was ended by END_STREAM and
not due to other means (such as RST_STREAM).