libev sockets framework