toHeader
Converts a nullable map of strings to a Header instance.
If the map is null or empty, returns an empty header. If the map is already a Header, returns it as-is. Otherwise, creates a new DefaultHeader with a copy of the map.
Receiver
The map to convert, can be null
Return
A Header instance representing the map