Text this: Secure and energy-efficient framework using Internet of Medical Things for e-healthcare