Correct SEGV in server while receiving args from client
Correct errors on SIGPIPE