I know HttpClient 3 is EOL, but it's used widely in linux distros (basically because axis 1.4 is still used and depends on httpclient 3).
This patch have been commited to Debian package, and it would be great if you can apply to the ASF repository, so other distros can take the fixed version from the SVN.
The patch is a mix of : backport from httpclient 4.2, some bites from apache synapse and some refactor of my own (basically splitting in smaller functions).
If you can also do a fast review to see if i've done a obvious mistake, i would very grateful.
Thanks for your time and your patience