lots of refactor + finish handshake and self-init teardown
finish tearing down when receive fin flag from server
succesfully download a file with no error --- TCP is done
tcp done, download file succesfully, problem with binary of log file not the same