Additional check to determining https or not