xbmc/xbmc — pull request #1587 by dersphere (2012-10-09 20:04:48+00:00)
Title: only use proxy if enabled AND server, port is not empty

This avoids some "my add-ons are not working" or "my scrapers are not working"-issues when a user accidentally just enables "use proxy" but didn't fill in a proxyserver.

Also this avoids the possibility to set (to ENV - which is used by python - or for internal usage) a proxy like:
`http://user:password@:80` (no proxyserver set)
`http://:80` (no proxyserver set)
`http://:` (no proxyserver, no port set)