network_proxy: reject proxy URLs that resolve to a port with no host (#7922)