Preliminary TCP-based client and server.