Improve handling of invalid stream URLs.
Allow running on older versions of XBMC.