Added a TCP download test and CSV output.
Closing client socket in TCP dserver.
Added timeout options for TCP client.