[#1293] Fix handling of chunked requests in HttpPostRequestEncoder and the multipart examples