ensure allocating the fd_set array properly when maxconnections is smaller than 1024 (select-based implementation)

in such case we still need a full fd_set (which is able to handle up to 1024 filedescriptors)