Fix Rserve reporting a wrong pid when daemonized, by postponing the PID file creation for after the server was forked.
Also, add auto-delete of pid file on graceful shutdown of server.
clean up fix for #5
fix tempdir() adjustment
use uid.gid in tempdir name (instead of pid) to reduce clutter
add keep.alive support