Feature/coap

**DO NOT MERGE**
CoAP support implementation draft
Space missing:

    (char*) realloc(me...
           ^
           |
         here