pub fn socket_path() -> PathBufExpand description
Where WaOS listens on this machine, in the user’s own folder: on Apple’s systems
~/Library/Application Support/WaOS/dev.sock; elsewhere $XDG_RUNTIME_DIR/waos/dev.sock,
the folder a system keeps for the user’s sockets, or ~/.local/share/waos/dev.sock when
there is none. macOS allows a socket path 103 bytes long, so a user’s name may be 50 bytes;
binding or connecting to a longer path fails with the system’s message.