HTTP: avoid useless HTTP/1.0 and MMS connection attempts
We should reduce the times that a site is accessed to the minimum to don't waste the bandwidth of the site.
vlc.stream should be extended like this:
vlc.stream(string url, unsigned int http_ver, bool try_mms, bool retry_on_error)
http_ver (default 1) 0 => only HTTP 1.0 1 => only HTTP 1.1 2 => try HTTP 1.1 and if fail try HTTP 1.0
try_mms (default false)
retry_on_error (default false)
retry_on_error can be true only if try_mms is false and http_ver is 0 or 1, otherwise it is ignored.
Edited by Rémi Denis-Courmont