fn path_is_socket(path: &Path) -> bool