and again could just be 'self._set_proxy(str(config['cachedir']))' ?