Use JURI method to detect if SSL is enabled in gravatar class