[SUITEDEV-2114] fixes here and there, and validate + is_valid? methods
[SUITEDEV-2114] do not lowercase header names in error messages