Use a string stream in UCIInputParser