COMMONS-330: Cannot upload a file in activity stream when host name contains "portal"

Problem analysis
- Rest URL will be extracted from URL request which contains host name. If host name has "portal" word, eXo Platform cannot distinguish between host name and portal container name

Fix description
- Do not include host name in rest URL