Commit Briefs
http: fix reswriter_write() return value
we "wrote" only len(buf) bytes. Also, since res.dst is a dynstream no short writes can happen.
http: introduce a reswriter; change API accordingly
since it uses a bufio::stream it is limited to 1024 bytes of response, an auto-resizing implementation will follow...