Identifying standard message exchange patterns