Add assert to debug threads.
Fix GetStats Bug.

We must call channel->GetStats in work_thread.
Merge pull request #46 from kangjianbin/master

Fix GetStats bug.