Text this: Agent-Based Trust and Reputation Model in Smart IoT Environments