I am looking for a C/C++ library I can use on the N900 where I can pass it a HTTPS URL (including being able to feed it form POST data) and get back whatever the result is as data (byte array, something like that). Ideally it should be something that's on the phone by default or something I can link statically or easily include with my own tool.

Not sure yet if I will be using QT or GTK for the eventual UI that will be written for this (not sure which will be easier to learn in the context of the N900 although I do have a copy of "C++ GUI Programming with Qt 4 (2nd Edition)" so maybe QT is the way to go for UI)

By "post data" I mean the data that gets sent when you have method="post" on a HTML form tag.

Right now I can do wget --post-file=post.txt https://blah and get back some JSON data. I want to do the same thing in code (generate the contents for the form post data, retrieve the URL and then get the results back)

What is going on on the other end doesn't matter, I just need a library that the N900 can use that can retrieve this data for me easily.

libsoup is in the repos but it has HTTPS turned off so that's not an option.
Using OpenSSL directly looks too complicated. I just want a simple library that does the work for me without needing to care about the SSL connection, certificates, https or anything else.