 
         let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
 
-        configuration.timeoutIntervalForResource = 120.0 //TODO move to params
+        configuration.timeoutIntervalForResource = 120.0
 
         let queue = NSOperationQueue.currentQueue()
 

    }

    private var _totalBytesCount: Int64 = 0
    private(set) public var totalBytesCount: Int64 {
        get {
            return _totalBytesCount
        }


import Foundation

internal class NSURLSessionConnection : NSObject, NSURLSessionDelegate {

    func clearCallbacks() {

