Fixed long (>255) utf8 headers + unit-test
Added validation of invalid utf8 sequences (replacing invalid char with "?") + unit-test
fix unit-tests after merge
cleanup helper for utf8 fix
JENKINS: add encoding to dburi for mysql tests