Parse InputStream intro String ASAP

...and use it later on instead of depending on stream