Better errorhandling on wrong settings and disable https-Proxyenvironment