Merge pull request #7 from evoskuil/master

Generalizations to support protobuf and czmq++.