     
     // We had packets waiting for send when we upgraded
     // Send them raw
-    func flushWaitingForPostToWebSocket() {
+    private func flushWaitingForPostToWebSocket() {
         guard let ws = self.ws else {return}
         
         for msg in postWait {

        }
    }
    
    func flushWaitingForPost() {
        if postWait.count == 0 || !connected {
            return
        } else if websocket {

            session.dataTaskWithRequest(req, completionHandler: callback).resume()
    }
    
    private func doLongPoll(req: NSMutableURLRequest) {
        doRequest(req) {[weak self] data, res, err in
            if let this = self {
                if err != nil || data == nil {
