Modeling of client-server systems