XFF patch update addressing the comments made in unified2xff_v4
 - When creating the packet that fakes the one that generated the alert,
   the flow direction wasn't taken into account in overwrite mode
 - Other comments already addressed in the previous commit (structure
   naming)