NTFY-153 Reversed the portion of the origin cut if protocol is specified

Cut the end of the string (host) not the beginning (http:)