Constant replaced with macro MODES_NET_SERVICES_NUM.
modesFreeClient() optimized to find new maxfd faster.