A Secure Framework for Protecting Clinical Data in Medical IoT Environment