Fix for mirror links to link to mirrors instead of 404

Minor change to keep track of protocol of mirror and reuse when outputting link URL to force external link instead of relative to path.