Fixes EOFException (@ewized) using in.readFully();