Extended fork of libev (http://dist.schmorp.de/libev/) with a set of server functions