Update the basic client example to use the new JobResult api.

Mainly data() returns a char* not a std::string now.