Added frame parser that works off an InputStream