do not use coap_get_mid.
Merge pull request #3 from sbernard31/msgid

do not use coap_get_mid.