event/ServerSocket: fix get_remote_uid() error value

Must return -1 on error, not 0.  0 is root.
Client: assume uid==0 is local socket

A negative uid value means it's not a "local socket" (PF_LOCAL).
uid==0 means user "root" connected.