Make tumblr refs protocol-agnostic