making gravatar call https when needed