Text this: Optimizing security and energy efficiency in IoT-Based health monitoring systems for wireless body area networks