Add select to InputStream_Interface