Text this: TruFiX: a configurable trust-based cross-layer protocol for wireless sensor networks