Intelligence at the edge: Secure and privacy aware consumer centric IoT services