Fall back to stripping out newlines on Ruby 1.8.
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
Merge pull request #37 from kjg/rest_headers_fix

rest-client: Handle symbol based header keys
Merge pull request #34 from Umofomia/master

Fall back to stripping out newlines on Ruby 1.8.