i have started to get those "could not find corresponding listening socket" all the time.
also, looks like the previous proxy-authorization pv problem that i wrongly reported is due to
remove_hf("Proxy-Authorization");
having no effect, i.e., the header is included in outgoing request even when i make the above call to remove it.
i added some debug in my script that verified that the above call is done and still the original p-a header shows up in outgoing request.
i don't know what to do next because looks like nothing that i try works.
-- juha