http_outgoing: refactor to use stream.Writable
Checklist
-
tests and code linting passes -
the commit message follows commit guidelines
Affected core subsystem(s)
http
Description of change
Use stream.Writable
instead of the piles of suspicious methods on the
top of the legacy Stream
.
Additionally, make res.write()
return the same value as regular
stream.Writable#write
would do after res.end()
call. Returning
true
is considered a blasphemy from now on, and should be prosecuted
with all possible strictness.