Use new Rails Http::Headers env notation

As of Rails 4, see https://github.com/rails/rails/commit/e2a5de2