pub fn startup(buf: &mut BytesMut, params: &[(&str, &str)]) -> Result<(), Error>
Encodes the startup message (no tag).
Returns Error::Encode if the message is larger than 2 GiB.
Error::Encode