Failure to connect to a Unix-domain socket could cause a segfault. Fixed.