Only send header when there is a value, fixes #352