Add methods to start and stop the client
Add example that uses the eventsource library
Add a flag to run callback in a thread
Modify example to show running the callback in a thread