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

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


// Polling methods
extension SocketEngine {
    private func doPoll() {
        if websocket || waitingForPoll || !connected || closed {
            return
        }
