pub fn write_password(buf: &mut Vec<u8>, password: &str)
Write a PasswordMessage (cleartext or MD5 hashed password).