Rename eof to at_end.

This is more fitting as end of file is not really true for a socket.