Revered how protocol is trimmed from url.