patch to work on reverse proxy which removes /Plone