lserv2: add select()