Introduce invariants in processHeader.
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel