Return empty string when header has no value

- Previously returned None, which casted to str prints "None"
- Pad encrypted string with null-byte if necessary