refactoring in tcpflow.py: new class TCPDirection, moved assemble_stream
refactoring in tcpflow.py: new class TCPDirection, moved assemble_stream

Specifically, it was made into a free function, as was detect_handshake. A
no-op detect_closing handshake has also been added

andrewf/pcap2har,andrewf/pcap2har