Fixes for working with legacy servers that poorly handle chunked transfers.

Essentially, some servers when receiving a chunked transfer are observed to
behave poorly on the response side when receiving a chunked encoded request
body from the client.