1.use a identity number to index client agent. 2.add sessionId to MsgHandler.