基本完成channel和client初始化的简化、和标准化
before refactor session-store, swithing from patching manager to socket
fix session-store with patch to io.socket