Added ServerCert parameter to client