Fixed flush queue
Fixed channel resubscribtion
some cleanups
indentation
Fix: segfault when flushing event-queue
test_client can post single value
Merge remote-tracking branch 'origin/kk-dev' into development