Support sending request trailers
Add support for sending trailing headers (rfc7230-4.1/4.4) in a request.
Currently trailers are supported for Response objects but there is no way to set trailers on a request.
Request is reusable in OkHttp. So Call.setRequestTrailers(Headers)?
Seems like the point of trailers is for things discovered while sending the request. Otherwise they would just be normal headers. So it's probably something like a callback that's invoked after the entire body has been written to produce them.
Presumably useful to sign or checksum the request body?
Yeah the primary motivation I'm aware of is checksums. This ended up not being necessary for us (we do chunked encoding with ability to checksum without trailer support). It would still be good feature for completeness sake.