     private var isConnected = false
     private var onReceiveEvents: (([LongPollEvent]) -> ())?
     private var taskData: LongPollTaskData?
+    private var version: LongPollVersion = .first
     
     init(
         session: Session?,

import Foundation

/// Long poll client
public protocol LongPoll {

        }()
    }
    
    public func start(version: LongPollVersion, onReceiveEvents: @escaping ([LongPollEvent]) -> ()) {
        synchronyQueue.sync {
            guard !isActive else { return }
            
