Move rpc types to proto.
Merge branch 'new-binlog-streamer'