remove client_connect, called only once
setsid on server
handle SIGTSTP correctly

That is, do not set any handler for SIGTSTP