added support for message-id using REST transport

I opened an issue about the REST transport not supporting message-id.   If you are interested in my solution, here is the pull request.