azure server modified to handle global connections
changed client to handle whether ip and host is given in arguments