Security of Body Sensor Networks