Merge all MyClientConnection classes into MyReplSlaveClientConnection, and make decoders inner classes.