reconfigure the sockets and pipes to pipe directly into client