introduced PICKLE_PROTOCOL_VERSION config item, fixes #40