class Puma::Client

def io_ok?

used for MiniSSL::Socket
Test to see if io meets a bare minimum of functioning, @to_io needs to be
def io_ok?
  @to_io.is_a?(::BasicSocket) && !closed?
end