title: Websocket Client in Electron App delaying reception
body: <p>I am using a websocket to push data from a process (running in the background) to my electron application (renderer, it's a electron-vue app). Mostly this works great, the data is received and displayed instantly.</p>
  
  <p>In some cases, however, I noticed that the websocket client seemed to buffer incoming messages and only trigger the receive-event after some delay, leading to messages received as a batch.</p>
  
  <p>To verify that the server isn't buffering anything I ran a second connection and simply logged the data (chrome-addon), there all the data is received and processed instantly while my electron application delays the messages.</p>
  
  <p>I am using <code>ReconnectingWebsocket</code> but also tried a plain websocket application:</p>
  
  <pre><code>let webSocket = new WebSocket('ws://0.0.0.0:7700')
  webSocket.onopen = function(openEvent) {
    console.log('WebSocket OPEN: ' + JSON.stringify(openEvent, null, 4))
  }
  webSocket.onclose = function(closeEvent) {
    console.log('WebSocket CLOSE: ' + JSON.stringify(closeEvent, null, 4))
  }
  webSocket.onerror = function(errorEvent) {
    console.log('WebSocket ERROR: ' + JSON.stringify(errorEvent, null, 4))
  }
  webSocket.onmessage = function(messageEvent) {
    var wsMsg = messageEvent.data
    console.log('WebSocket MESSAGE: ' + wsMsg)
  }
  </code></pre>
  
  <p>The <code>WebSocket MESSAGE:</code> is only displayed with some delay. Is there any configuration option, like buffering on the client side or must the render process be called more often..?</p>