Clean up the client API and add documentation on how to use the new API.
Update the streaming client example.
Update the callback client example as well.
Add the missing example file.
Minor doc fix.
Merge pull request #475 from nomis52/master

Clean up the examples to use the new API.