A key management scheme supporting node mobility in heterogeneous sensor networks