Obtain a client's IP address and pass it into the game when they connect

For a multiplayer game I’m currently working on I need to retrieve a connecting client’s IP address when they connect to the server and have it usable as a string in the game. Is this possible within Unreal 4? Both internal and external IP would be great, internal is actually better for short term purposes.

I’m working off the shooter game included with the engine as a template and am using a source built version of 4.8. I have tried grabbing the address from the prelogin function in shooter game mode, but it seems to return an empty string when I try and store it in the player controller.