optimize msg callback. use AutoCall.h and ProxyCall.h replace AgentCall.h