make cdn links protocol agnostic