Added support for configuring file descriptors greater than 2 on POSIX without giving up cross-platform API