I've been working on this project [1] for a bit over a week, and I finally, finally got it working. For the entire week I was fighting what appeared to be a loosing battle with a Microsoft IIS server when all of a sudden it started working.
I had been working on the project today and appeared to be regressing at an alarming rate as I was tweaking code that by all rights should work when I made a final tweak (isolating the code that builds the client headers for the GET and POST commands into a single common routine) so that I could be sure of what headers I was sending for which methods (I need both for this site)) and Lo! It worked!
Looking over the code I see that the only change from the headers I was sending before have the Cookie: header being sent back as the second header instead of the third.
This, on top of the other bugs [2] I have to code around. Grrrrrrrrrrr …