Lightweight library for embedding a webserver in applications