Communication protocol with server - first version