fix getPeer issues for unix sockets

as discussed via email :-)