added cqlVersion check to mitigate cryptic 'cannot parse as hex bytes' errors