Update to make sure checks to origin truncate to only FQDN if a full URL is passed.
Added further input validation to ensure origin connection works independent of URL type passed - including HTTPS