rename $stomp_* variables to $mw_* to reflect generic middleware setup.
Add variable for setting registration plugin.