title: How to detect the Remote/Client IP Address of a WebSocket connection on OpenShift
body: <p>In the OpenShift cloud, the usual Apache proxy will send the HTTP headers <code>x-client-ip</code> and <code>x-forwarded-for</code>, which I can use to determine the client IP.</p>
  
  <p>But for the <a href="https://blog.openshift.com/paas-websockets/" rel="nofollow">newer proxy, which is the only option for WebSocket users</a>, these are the only sent headers:</p>
  
  <ul>
  <li><code>connection</code></li>
  <li><code>upgrade</code></li>
  <li><code>sec-websocket-version</code></li>
  <li><code>sec-websocket-key</code></li>
  <li><code>origin</code></li>
  <li><code>host</code></li>
  </ul>
  
  <p>None of these headers can help me to detect the remote address and <code>socket.remoteAddress</code>'s NodeJS property is useless, as it will detect the proxy IP.</p>
  
  <p>Any solution I can use?</p>