add secure server and client