THRIFT-2118 Certificate error handling still incorrect

Patch: Jens Geyer
THRIFT-2036 Thrift gem warns about class variable access from top level

Patch: Takuya Hashimoto & Keith Barrette