sending start, end, piece to server