WIP(tcp transporter)

finish tests for dialLoop
TODO: test for send and run
WIP(tcp_transporter)

Refactor the dialLoop a little bit, synchronized behaviour now.
add tests for Send().
WIP(tcp_transporter)

Refactor the Send(), add outgoingLoop(), change run() to incomingLoop().