Allow PROTOCOL_VERSION to be set by envar