Re: confusion. Agreed possible, but minimal risk. I'll update comments to make it more clear it only affects Director::is_https calls.

Re: infinite loop - it'd be a redirect loop, rather than a loop within a single request, and HTTP clients should detect an infinite loop.