[x] stream: eos avoid listeners when possible
This slightly improves performance and maintainability by applying legacy compat logic only when required.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines