Simplify cleanup logic and fix bugs in client connection closing logic
Change processor to require only one thread rather than a separate
timer and processing thread.

Change-Id: I8d0911ca6cf9dc502433984a7c1a0d53967f2641
Signed-off-by: Rob Adams <readams@readams.net>