Updated to use framed.Reader.ReadFrame