Remove dependency on thift-generated code
Fix check for still-encrypted data
Change to use new useBinaryProtocol option
Remove dependency on thift-generated code