Different way of transform to secure https url