Prevent from crashes when using squid for proxies
Merge pull request #21 from estshy/master

Prevent from crashes when using squid for proxies