Revert pull request #295 (xhr-headers)

breaks existing installations