changed func name parse_stream to parse_JPIPstream