CoAP stack implementation