         finish?(error: error)
     }
 
-    public func URLSession(session: NSURLSession, didBecomeInvalidWithError error: NSError?) {
+    internal func URLSession(session: NSURLSession, didBecomeInvalidWithError error: NSError?) {
 
         if let error = error {
             finishLoading(error)
         }
     }
 
-    public func URLSession(
+    internal func URLSession(
         session : NSURLSession!,
         dataTask: NSURLSessionDataTask!,
         didReceiveResponse response: NSURLResponse,

        shouldAcceptCertificateBlock = nil
    }

    public var didReceiveResponseBlock     : DidReceiveResponseHandler?
    public var didReceiveDataBlock         : DidReceiveDataHandler?
    public var didFinishLoadingBlock       : DidFinishLoadingHandler?
    public var didUploadDataBlock          : DidUploadDataHandler?
    public var shouldAcceptCertificateBlock: ShouldAcceptCertificateForHost?

    private let params: URLConnectionParams

    public init(params: URLConnectionParams) {

        self.params = params
    }

    private var sessionTask: NSURLSessionTask?

    public func start() {

        if params.url.fileURL {
            let path = params.url.path

        completionHandler(.Allow)
    }

    internal func URLSession(
        session : NSURLSession,
        dataTask: NSURLSessionDataTask,
        didReceiveData data: NSData) {
