updating equality for istream types, making sure each stream class can handle it independently