Make optional the use of proxy server