> I wonder what a C library would look like today, for handling HTTP requests.

Isn't that CURL?

>> I wonder what a C library would look like today, for handling HTTP requests.

> Isn't that CURL?

Curl sends requests, it doesn't handle incoming requests.