Add the X-Forwarded-For to WebSocket if if it's there

In case of the server is behind a proxy such as nginx, ws._socket.remoteAddress gives the IP address of the proxy. By adding xff (X-Forwarded-For) as one of the options of ws, you will be able to obtain client's IP address by reading ws.xff.