Handle authentication with the proxy. password_mgr, if given, should be something that is compatible with HTTPPasswordMgr; refer to section HTTPPasswordMgr Objects for information on the interface that must be supported.
urllib.request/ProxyDigestAuthHandler
ProxyDigestAuthHandler