redefined client-server and server-server protocols