Feature/coap

**DO NOT MERGE**
CoAP support implementation draft
Leftover to be removed (moreover, the LM_V macro usage is deprecated, use LM_T instead).