Fix osx sopcast curl error- 3 seconds video only

A thread is implemented to download (requests module) the local stream to a local file and that local file is then forward to the player.