Client: Handshake, request serialization.