Make max # of open file descriptors (RLIMIT_NOFILES) configurable

Configured as "MaxFileDescriptors" property in server config.
Default value is 5000, so even without setting the property you get
more than the OS gives you by default.
NOTE: This commit may not build on Windows due to using the syscall
package, which is platform-dependent.
Fixes #218