Hey Nitorami,
If you wanna pursue the collection of knowledge that you'll get from doing your own tool, I'm all for it. I do like to re-invent the wheel when I'm trying to master a subject.
I also look for some less brain wrecking options, if only, to have them in my back pocket in case plan A through E go flop

I'm not sure what operating system you're using, it's not clear from this thread. But if you have access to
wget, it would be a lot easier.
I can even say it would be a
one liner 
Especially because
wget is known for it's
archival features. If you use the correct set of switches, it will login, or use login cookies from your browser and it will download those 30K message thread, as slow as you tell it, cuz even that has a switch. With what ever user agent you wanna mask it to.
Hope this gives you a last chance plan option, just in case
fphttpclient proves to be a bit too challenging.
Cheers,
Gus