pub async fn write_startup_message<W: AsyncWrite + Unpin>( wr: &mut W, protocol_version: i32, params: &[(&str, &str)], ) -> Result<()>