make mounting /proc optional

There's no reason to expose this surface area when applications don't
require the proc API filesystem.
switch to the simpler thread-unsafe getpwnam

This code in the forked process is *never* going to be multithreaded.