Makefile improvements, add protocol.proto