tiny http to https proxy

Looking for some tiny cross platform solution that would proxy http request to a https server. I have a small embedded system that has a really old solution which underlying uses wget which is incapable of using https directly 🙁

So my only solution is to have somekind of proxy deamon that would point to https server, while local solution would point to

Anything like this exists ? But must be low footprint and crosscompile able in c.

Thank you!