libwebsockets
Lightweight C library for HTML5 websockets
HTTP File transfer
+ Collaboration diagram for HTTP File transfer:

APIs for sending local files in response to HTTP requests