The fd bookeping is restructured to use map and vector instead
of limit dependent arrays. The memory footprint of the new structure
depends only the number of the actually used fd instead of the
maximum possible values.