Avoid sending Blobs on PhantomJS (as on Android)

This pull request fixes an issue with socket.io on PhantomJS.

Uploading a `Blob` with PhantomJS does not work correctly, as reported here:
https://github.com/ariya/phantomjs/issues/11395