I got my HTTP request class pretty much working. I can now send a valid HTTP request and strip the headers off the reply, although I haven’t been able to complete a successful call with it.
I just rewrote the MacMegasite Store to use a table in the database for the products instead of a hard-coded HTML file.