Updated example code to use the multistream.obj function

Example code caused "Uncaught TypeError: Invalid non-string/buffer chunk"
Don't include unrelated changes. Multstream is fine, so no need to mention others.