[TASK] Properly check for HTTPS