Middleware Services for Network Interoperability in Smart Energy Efficient Buildings