net: do not re-emit stream errors

fix #7015
Merge remote-tracking branch 'upstream/v0.10' into v0.10