Added support for streaming image data to upload

The PR changed the way to upload multimedia data, using a more general `node-request` instead of platform-specific `curl` command. This will also enable developers to leverage the node's data stream API to provide the data source.