modify AutoTask macro to allow anonymous task

like:
AutoTask()
{
// ...
}
REST CoAP!