def parse_settings
      settings = {}
      payload.each_byteslice(6) do |param|
        id = param.uint16
        name = SETTINGS_TYPE.key(id)
        # ignore unknown settings type
        settings[name] = param.uint32(2) if name
      end
      settings
    end
def parse_settings
      settings = {}
      payload.each_byteslice(6) do |param|
        id = param.uint16
        name = SETTINGS_TYPE.key(id)
        # ignore unknown settings type
        settings[name] = param.uint32(2) if name
      end
      settings
    end
Parses SETTINGS frame payload. Ignores unknown settings type (see RFC7540 6.5.2).
 @return [Hash<Symbol, Integer>] The parsed strings.