Parses a segment this and stores the result in the given
segment remains valid only until the this is freed. Don't modify the segment and make a copy if
you want to modify it or store it for later use.
The event to parse
a pointer to a Segment