Modified Client to correctly get host IP address to connect to.