Allowed middleware to modify from, to, and message parameters for the next stack element. Ported a couple more modules