title: Get users IP address from Firebase Callable function
body: <p>How can I access the users IP address from an <code>onCall</code> Firebase function...</p>
  
  <pre><code>exports.MyFunction = functions.https.onCall((data, context) =&gt; {
     var IPAddress; //???
     console.log(IPAddress)
  });
  </code></pre>
  
  <p>I saw that I might be able to get the IP address with <code>context.rawRequest.connection.remoteAddress</code> but then I saw <a href="https://stackoverflow.com/questions/48032909/how-to-get-client-ip-address-in-a-firebase-cloud-function">this post</a> regarding an <code>http</code> function, and I'm not sure how to set the headers on an <code>onCall</code> function to <code>fastly-client-ip</code>.</p>
  
  <p>Any suggestions? </p>