Use socket.peeraddr instead of socket.peer