Cleaning up the binlog_server response.

Also moving a few definitions into proto.