edited protocol.h and fixed client writing file
Merge branch 'master' of https://github.com/relief/lab2