server: Convert com_select() to lopsub.