IoT Gateways: Bridging Sensors and Analytics for Water Conservation