allowing for either http or https in url to shorten