Fixed validation test on socket file descriptors in server.