Replaced deprecated functions in example/stream.cc

I updated example/stream.cc and removed deprecated function calls of msgpack::unpacker. 

refs #60