correct handling of headers in rest_client.rb #44
try to fix test failure with ruby 1.8