added support for rack.input.gets