Fix issues when checking a gravatar exists

Bug 1386532: If checking via HTTP, gravatar returns "HTTP/1.0"
via HTTPS, it returns "HTTP/1.1"

Change-Id: I82a8fce9593007784973a7796cbe9a68a85794b7