[zcash/zcash] generalize mininode.py protocol versioning (#3444)

utACK