respect for how you defended that pull request with libexpat people. i had to laugh.
did you consider replacing libcurl with a webfs wrapper? you might be interested in seeing how hg+python is integrated into 9front without even needing openssl. it's surprising how neat it all fits now (though it must have been quite some work).