2.007 - implement getline/readline properly when not sslified (RT#100529)