Generic Java communication API over ZeroMQ and Protocol Buffers