Prevent from crashes when using squid for proxies