tinydtls is allocating code on the stack - this needs to be changed to avoid forcing devices to have very large stack allocation.