System.setIn doesn't work because jline reads directly
from FileDescriptor.in, which is final. jline has
ConsoleReader constructors for reading from other
streams, but SqlLine doesn't use them. Perhaps define
a property to tell SqlLine that input is being redirected?
Or expose a public invocation API taking a stream as input.