Upgrade to thrift 0.9.0 (closes #49)