[#609] Use protocol relative URL for resource or https