initial checking of secure chat server and client