http gem 0.5.0 fix