         request.setValue("\(header)", forHTTPHeaderField:"X-Sentry-Auth")
         
         let connection = NSURLConnection(request: request, delegate: self)
-        self.receivedData = NSMutableData()
         
         #if DEBUG
         let debug = NSString(data: JSON!, encoding: NSUTF8StringEncoding)

    }
    
    func connection(connection: NSURLConnection, didReceiveResponse response: NSURLResponse) {
        self.receivedData?.length = 0
    }
    
    func connection(connection: NSURLConnection, didReceiveData data: NSData) {
        self.receivedData?.appendData(data)
    }
    
    func connectionDidFinishLoading(connection: NSURLConnection) {

    var tags : [String : String]
    let logger : String?
    internal let config : RavenConfig
    private var dateFormatter : NSDateFormatter {
        var dateFormatter = NSDateFormatter()
        dateFormatter.timeZone = NSTimeZone(name: "UTC")
