IoT Based Smart and Portable System for Remote Patient Monitoring and Drug Delivery