Towards Security and Privacy in Networked Medical Devices and Electronic Healthcare Systems