LPS-43679 Move shortenURL logic to HttpUtil
LPS-43679 Check URL length when adding parameters
LPS-43679 Check non-namespaced redirect parameter