dirmngr: Fix handling of proxy URIs.