Moving the binlog server interfaces to proto.