Encode a SaslHandshake request body into the given writer.
The writer to encode into.
The request payload.
The API version to encode for (0–1). Both versions have the same wire format.
Encode a SaslHandshake request body into the given writer.