FELIX-4196 Check existing request URL prefix before replacing it with "https"

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1515389 13f79535-47bb-0310-9956-ffa450edef68