add the protocol parse for imsvr, and describe the detail of protocol