def headers
      new_h = {}
      headers_orig.each_pair do |k, v|
        if v.is_a?(Array) && v.size == 1
          v = v[0]
        end
        new_h[k.downcase] = v
      end
      new_h
    end
def headers
      new_h = {}
      headers_orig.each_pair do |k, v|
        if v.is_a?(Array) && v.size == 1
          v = v[0]
        end
        new_h[k.downcase] = v
      end
      new_h
    end
Provide a headers_orig method in your wrapper to allow this to work