2: https fixes