make all links protocol aware (//)