fixes for ruby 2.0
fixes for latest version of ruby and Rack
adding some headers for operation behind proxies
Merge pull request #5 from drudru/master

Recent fixes for Ruby 2.0 and additional header support