qmidev: Get and release clients on connect and disconnect

In preparation for being able to make requests on services other than CTL,
try to get client IDs for all the services when we connect, and release
them (at least, the ones we successfully got) when we disconnect.

Also, add a connect/disconnect test.

BUG=None
TEST=connect_disconnect_test, passes

Change-Id: Ie376f6ff75a4f628749b85f30e977b289e406647
3 files changed
tree: a24b309f072a9f9ad1ea1d668891fb6b9fe39e90
  1. include/
  2. src/
  3. .gitignore
  4. LICENSE
  5. Makefile
  6. README