add '-pass-header Authorization' in domains.conf.tpl of apache; fix syncserver in web__lib.php; prettier php code in certain files