alternate https detection technique