Segmentation fault fixed, error in deserializeHeartbeat: structure was not properly zeroed.