Added naïve detection of proxy.