add CORS support for Chromecast compatibility

This PR enables subtitle support when streaming to Chromecast. See #111