Check Meteor.isClient before using window.location.protocol
to determine Gravatar 'secure' option