Make possible to work with rack 1.5

This will make possible to this gem work with Rails 4