Add protocol.cc into project. We should do this long long ago