BUG-730 Changed three read() calls to readFully() to ensure initialization vector and
other important pieces of data are properly read.