Fix to not include a cookie in TCP mode.

b7098382 added a cookie always, however this only works in HTTP mode.
Remove/disable this automatic addition when we're in TCP mode.