add support for custom mime-type protobufs