returned to old style for writing symbols as keys in hash
fix for HTTPRequest for ruby 1.8.7
Merge pull request #2 from Misenko/refactoring

Refactoring