Added isConnectionBroken; Added eofCounter iVar