Text this: An optimal federated learning-based intrusion detection for IoT environment