Parse gtid events

@bjoernhaeuser Is it more clear this way ?