OF-3218: Guard against forms with a FORM_TYPE but no value
I don't think this is explicitly defined in a XEP. The closest definition is that of handling forms without a FORM_TYPE. We'll treat these the same: ignore them (but do not stop processing).
OF-3218: Restrict 'well-formed' to XEP definition
Restrict access to this clearly internal method (to avoid generic use) and fail on a stanza that doesn't even contain relevant data.
OF-3218: Guard against malformed 'feature' elements
It may be more proper to error hard in these cases, but the more pragmatic approach is to log but otherwise ignore them. It's unlikely that we'll encounter this issue in practice, as such stanzas would likely introduce problems in a lot of different places.