Add support for specifying headers when producing messages.