Rewire inputs and outputs to address tcp-server stuff.