Fail requests with Expect:continue on the local interface.

This might or might not fix CVE-2011-3596; difficult to say, since
nobody seems to want to tell me what said CVE is about.

(cherry picked from commit cd64a103da1dd740cded6e7814c99091c6cba0e6)
Update CHANGES for 1.1.0.

(cherry picked from commit af08a108acb9ac717f114d81c60cad0ccc0d7c21)
Fix crash when first address of SOCKS proxy fails.

(cherry picked from commit b1aad50485d7d6ee3b6816e263bc51ee719bc7bb)
Update CHANGES.

(cherry picked from commit 6d35e9d90fa8c9612f678ca30eb7a386e224a18b)
Update website address.

(cherry picked from commit 21cfac1d6c21fa07d93386c3841c0e41f658d3e1)
Fix CHANGES.  My bad.

(cherry picked from commit 233ad25900a7bb1a4f23b23678aba9069db72f1d)
Fix typo that could cause an infinite loop when tunnelling.

Thanks to xnoreq for the extensive debugging session.

(cherry picked from commit c61964babb6ac8fe7c83e930a389b92fb66c2251)
Update CHANGES.

(cherry picked from commit 3d9a0b608be907a750a57f3a4bc4e0b397d47099)
don't parse resolv.conf on WIN32

(cherry picked from commit 91fc01a22ba3d72c572db4a5969ac1de6bb46de5)
try to detach from the console if daemonise is true on WIN32

(cherry picked from commit 10ee8da148947f196345311244100eb4848964ca)
use checkRoot() which also handles WIN32 paths correctly

(cherry picked from commit 2005534b00764ad5f6b76f2158179237c1d2e2f2)
SO_REUSEADDR has completely different semantics on WIN32 so don't use it

(cherry picked from commit 798310fa9f25e5949138efa97c3ed67498876dab)
Update CHANGES.

(cherry picked from commit 2d28fc70760e21c74ed7a7d6ad8b59cd4ee515b1)
Add polipo.exe to gitignore.

(cherry picked from commit 7ed889929fae888cc6f62de7707e81b14f4d3f54)
Remove dead code.

(cherry picked from commit ad20a59dae6aa0a9dc5b0fdf117d359f016c3aeb)
Fix error handling in httpLocalRequest.

This avoids a crash when POST-ing to the local server.

(cherry picked from commit 52446dfc656cc301241f52782b06bbd603530b40)
Update CHANGES.

(cherry picked from commit 752aa966171f1b87ad8cded360fdc1756bd1c118)
Update CHANGES for 1.1.1.

(cherry picked from commit f690e763257ba05513b0bf0bd8a99554a0719201)