reverseproxy: simplify proxy scheme choosing
Revert until we found the complications