Updated the client protocol and example.