rb: Thrift::Socket should return false from #open? if an error occurred during a read/write (THRIFT-7)