Added Danaides WIP function for compiling and writing connection failure statistics over time to an output file.