Moved update thread from client to library.

* Thread creation in post_connect hook (if async active)
* Thread destruction in post disconnect hook
* All clients now have automatically async update support.