support socket.remoteAddress and friends