Smart energy services integrated within the arrowhead communication framework