KBASE-1016 #comment Debug code for handle serv/mngr connection problems
KBASE-1016 #comment Pulled the core guts out of the client, they work

Made a minimal test case by removing the core guts of the client to make
the call. This case works, so there's something else in the full client
code that's causing the problem.

Switch between the two cases by toggling the CLIENT boolean.