CORS support for peerflix server

Added support for CORS.

Useful for streaming to Chromecast with subtitles (Docs say both stream and subtitles need to be on CORS enabled server for subtitles to work)