title: Is there a function to intercept all socket.io data from the server on clientside
body: <p>socket.io clientside code can use this</p>
  
  <pre><code>  var socket = io('http://localhost:8888');
  socket.on('news', function (data) {
  
      socket.emit('my other event', { my: 'data' });
  });
  </code></pre>
  
  <p>but i want to intercept all data from the server emitted by socket.io not only news and then process the data. is that possible. </p>