Dynamic creation of .hrl and .src for .proto files

tigertext/xmpp/issues/873