Empty result to CAP LS. Client should send CAP END.
Send CAP LS 302 and read the result.
server does not advertise. Actually, this is optional.
Test ECDSA authentication.
Test PLAIN authentication with correct username/password.
is a multiple of 400. <http://ircv3.net/specs/extensions/sasl-3.1.html#the-authenticate-command>
is not a multiple of 400. <http://ircv3.net/specs/extensions/sasl-3.1.html#the-authenticate-command>
to use PLAIN.
A client implementing sasl-3.2 can give up authentication immediately. A client not implementing it will try authenticating, and will get a 904.
Test SCRAM-SHA-256 authentication.
Test SCRAM-SHA-256 authentication with a bad password.
the password