add protobuf version of masterserver and client