fix getPeer issues for unix sockets