CMS-2487 Use a modified version of old portal dispatching. Added request path/protocol and uri.