QPID-4627: Implement message-id, correlation-id and get jms-type right
Including detecting mostly correctly if they are not sent at all.