ref: 8a516e9e064619dcb3d84499b66e1562546be918 xmpp/stream d---------
all: add missing copyright notices

Signed-off-by: Sam Whited <sam@samwhited.com>
all: move stream namespaces into stream package
all: bump to new xmlstream and fix flushing
xmpp: use new JID API
stream: minor optimization stringifying IP addrs
all: update copyright message

[ci skip]
all: rewrap copyright comments/use xml.TokenReader
Update usage of xmlstream.WriterTo
stream: remove unnecessary struct tag
all: change name of stream namespace constant
stream: new SAX like API

internal/ns: add required stream namespaces
stream: restructure tests

Move them into a new package and make it easier to see which subtest a
stream: fix package name in documentation

[ci skip]
stream: rename StreamError to Error
stream: rename streamerror package to stream
Remove stream package in preparation for cleanup
Make StreamError satisfy error

Don't require a child element or text for undefined condition errors
Move application error type into base xmpp package
Add undefined-condition error

Fixes mellium/mel#13
Fix NoVersion stream option

Add more stream tests
Add stream tests and namespace validation