Support Diazo/plone.app.theming headers and parameters