Add interdomain version of the main loop

Signed-off-by: John Else <john.else@citrix.com>
Add runtime mode switch to dummy plugin

Signed-off-by: John Else <john.else@citrix.com>