def set_proxy(self, proxy=None):
self.proxy = proxy or {}<EOL>
Set a new proxy configuration

        Keyword Arguments:
            proxy: Dictionary mapping protocol or protocol and hostname to 
            the URL of the proxy.