allow resetting a TTY's eof state to keep reading

fixes the second issue in #6523

travis seems to be telling me that this should be `Union(UVStream, UVServer)`