private MessageValues buildMessageValues(Message<byte[]> message, byte[] payload, Map<String, Object> headers,
			boolean copyRequestHeaders) {
		MessageValues messageValues = new MessageValues(payload, headers);
		if (copyRequestHeaders) {
			messageValues.copyHeadersIfAbsent(message.getHeaders());
		}
		return messageValues;
	}
Return a message where headers, that were originally embedded into the payload, have been promoted
back to actual headers. The new payload is now the original payload.

@param message the message to extract headers
@param copyRequestHeaders boolean value to specify if original headers should be copied
spring-xd-messagebus-spi/src/main/java/org/springframework/xd/dirt/integration/bus/EmbeddedHeadersMessageConverter.java