def parse_headers
      s0 = @current_pos
      s1 = []
      s2 = parse_header
      while s2 != :failed
        s1 << s2
        s2 = parse_header
      end
      @reported_pos = s0
      s0 = -> (header) do
        ret = {}
        header.each do |data|
          ret[normalize_header_key(data["k"])] = data["v"]
        end
        ret
      end.call(s1)
      s0
    end
def parse_headers
      s0 = @current_pos
      s1 = []
      s2 = parse_header
      while s2 != :failed
        s1 << s2
        s2 = parse_header
      end
      @reported_pos = s0
      s0 = -> (header) do
        ret = {}
        header.each do |data|
          ret[normalize_header_key(data["k"])] = data["v"]
        end
        ret
      end.call(s1)
      s0
    end
headers : header*