Implements the recoding on/off in the proxy.