Upgrade Java driver to version 2.1.2. Replace hardcoded protocolVersion ...

...-1 with a proper version taken from ClusterConfiguration. Use non-deprecated variants of serialize and deserialize methods in DataType.