Properly initialize sin_family.
first round of tests to check system calls restarting with pthreads.guenther@ ok