Changelog:
============
-Replace gevent-websocket with simple-websocket when using gevent
-Catch and log all errors that occur in event handlers
-Use daemon threads for background tasks also in the threaded client
-Silence exception on websocket exit when using uWSGI #330
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>