this duplications beg for having 'def _set_proxy(self, proxy)' ;-)