routing: support protobuf version prior to 2.6