title: How to catch socket.io errors and prevent them from showing up in the console?
body: <p>I'm running socket.io on node.js and the socket.io client on an Apache website. If I don't start the node.js server and load the client page, the error event is triggered with an empty error message, which results in the following console output:</p>
  
  <pre><code>GET http://example.com:1337/socket.io/1/?t=1359731838906  socket.io.js:1659
  Socket.handshake socket.io.js:1659
  Socket.connect socket.io.js:1699
  Socket socket.io.js:1551
  io.connect socket.io.js:94
  (anonymous function) general.js:7
  (anonymous function)
  </code></pre>
  
  <p>What can I do to stop this error being written to the console?</p>