rewrite: only translate non-empty header values