Xtend implementation of Constrained Application Protocol