IOStream->lockRead() removed in favour of IOStream->freezeInput()