wire: Rework message body writing

- Simplify chunked encoding writing
- Avoid io.Copy for empty bodies
- Always flush after writing a full body
proto: Remove ChunkedWriter.Close
proto: Add reason phrases from RFC 6585
wire: Use constant for clarity
wire: Remove unnecessary fmt import