Determine if SSL is enabled before registering non-relative resources to prevent insecure content errors via https