normalize header values to bytes (and PY3)