libwebsockets
Lightweight C library for HTML5 websockets
Urlencode and Urldecode
+ Collaboration diagram for Urlencode and Urldecode:

HTML chunked Substitution

APIs for receiving chunks of text, replacing a set of variable names via a callback, and then prepending and appending HTML chunked encoding headers.