set oprot version after reading iprot version