libserve: added documentation