Preliminary TCP client architecture