create own client for lab6
fix transfer protocol in lab6
use const instead of define
use const instead of define (lab7,8)