Moving client creation into server

It didn't seem appropriate for the TcpListener class to have to know
about clients and be responsible for sending handshake packets.