ref: 52be89df867be9fc4e8ba83b0c3880887a6485ba xmpp/internal d---------
Fix broken internal tests
Add partial Send() function
Replace custom cryptoReader with rand.Reader
internal: Add a MustParseVersion func (and tests)
Fix (and test) random ID generation issue
Use ns package in saslerr package
Return encoding errors from sasl errors
Export default id len and move to internal package
Minor updates to internal package comments

Update canonical import path of saslerr
Add TODO on idgen code
Fix indention in internal docs
Add interface build-time checks for saslerr
Add experimental (internal) SASL errors package
Panic immediately on invalid conntype in lookup
Remove JRD host-meta lookup.

I misread the spec, the XML version is required and the JSON version is
optional, you don't get to pick between the two. This will be clarified
in version 1.1.2 of XEP-0156: https://github.com/xsf/xeps/pull/198
internal: Unmarshal JSON or XML host-meta files
internal: Add host-meta XRD struct
Move package to mellium.im/xmpp
Change the version package to internal
Make stream a "dumb" XML element.