Fix tcp transfer startup and header problems.