adding support to upload file using binaryjs websocket