fix "too short unix socket address" condition.
try to support Solaris.