Uploads files to a Node.JS server using Socket.IO