add offline_mode configuration option, so that we can cut gravatar call