Software Mansion interview question

How would you implement a streaming service protocol?