rest-client: save the @request.headers

saving the capitalized unprocessed headers caused issues with
headers that were passed into rest-client with symbols for keys