Damjan Jovanovic : server: Use sysctl instead of /proc/curproc/file on FreeBSD.