fix crash when restarting polipo with socks parent proxy settings