pub fn negotiate(requested: Encryption, server: u8) -> Result<Negotiated>Expand description
Work out what happens next from the two ENCRYPTION bytes.
The table is small but every cell matters: the one case that must fail is a server insisting on encryption a client refuses, because continuing would put the password on the wire in something very close to plaintext.