[PATCH 1/8] server: use sysctl instead of /proc/curproc/file on FreeBSD