Data transfer protocol based on TCP