Add setHeader param, change urlScheme param for MODx 1.0.12 compatibilit...

...y