I solved the problem by turning off Avast’s automatic network detection, which was sending out pings looking for a proxy server.