Fixed: don't cut of the query string to determine the basepath in M3U8 files

A fix for Ticket #14750 where I explained that the automatic bitrate detection strips all QueryString parameters for a url. 

This is done to determine the base-url of the M3U8 stream. Now I use a new variable for this.