dynamically pull server ip for socket (client)