Http client parameters cutomization and support of encoded URLs (percent encodings)

Hello,
I would like to propose the changes in this pull request that would allow developers using the ProxyServlet to customize the underlying http client parameters to address more use cases, and to fix an issue with encoded characters in URLs. Thanks for reviewing. Feel free to propose further changes or ask me any question on these changes.

Regards,
Cyril