module OpenSSL::Buffering

def getc

def getc
  c = read(1)
  c ? c[0] : nil
end