Matlab Code to Emulate Various Streaming Behavior including Progressive Downloading, Adaptive Streaming, etc.