trailer: process trailers from input message and arguments