Client - Server protocol. First attempt