stream: eos more accurate writable and readable detection
The value of stream.readable and stream.writable should not be used to detect whether a stream is Writable or Readable.
Refs: #29395 (closed)
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines