A multilayer client-server queueing network model with synchronous and asynchronous messages