posix: setsid now actually creates a session, and an untested implementation of setpgid.