Text this: Real-Time Electrical Energy Optimization in E-Commerce Systems Based on IoT and Mobile Agents