Changes to client and server, new class GetIp