refactor MsgProcess as abstract member of Connection