client now sets up transport connections to sockets.