Add USE_HTTPS environment switch