title: Socket.io send binary data from client to server
body: <p>With socket.io 1.0 it is now possible to send binary data from the server to the client side. For example, you can do this:</p>
  
  <pre><code>fs.readFile(__dirname + '/assets/pigeon-final.png', function(err, buf){
       socket.emit('image', { image: true, buffer: buf.toString('base64') });
       if(!err){
             console.log('image test success');
       }
  });
  </code></pre>
  
  <p>Is it, however, possible to do the inverse? For example, sending binary data from the client side to the server side instead?</p>