Add HtppClientOptions to TestRestTemplate

Allow customization of the Apache HTTP Client used in TestRestTemplate
via an options enum.

Fixes gh-1497