Added code to connect to a CIC server