         }
         
         class DataTaskDelegate: TaskDelegate, NSURLSessionDataDelegate {
-            var dataTask: NSURLSessionDataTask! { return task as NSURLSessionDataTask }
+            var dataTask: NSURLSessionDataTask! { return task as! NSURLSessionDataTask }
             
             private var mutableData: NSMutableData
             override var data: NSData? {

            }
        }
        
        components.append("\"\(URL.absoluteString!)\"")
        
        return join(" \\\n\t", components)
    }

        
        func escape(string: String) -> String {
            let legalURLCharactersToBeEscaped: CFStringRef = ":/?&=;+!@#$()',*"
            let cfString =  CFURLCreateStringByAddingPercentEscapes(nil, string, nil, legalURLCharactersToBeEscaped, CFStringBuiltInEncodings.UTF8.rawValue)
            return cfString as! String
        }
    }
    
