Fix http server chunking: Fail rep.writer.write on transport failure

Further, would it be appropriate to use `rep.writer.fail(e)` instead of `rep.reader.discard` here? That would provide a more informative error than `ReaderDiscarded`, but I'm not sure if it assumes too much about the implementation of `Message.reader` and `Message.writer`.