LPS-44575 Use refererPlid to save requested Layout when we redirect away from it
LPS-44575 Adjust virtual host based on referred layout
LPS-44575 Create local variable to avoid changing the value of the parameter

I know we do that often in other places, but it's a pattern that ends up causing bugs and I really want to stop doing it :)
LPS-44575 SF
LPS-47349 NPE thrown when tying to get the message listeners from a destination that doesn't exist