A Semi-Autonomic Framework for Intrusion Tolerance in Heterogeneous Networks