minor changes: errno.EAGAIN, add unread(), clearReadBuffer/WriteBuffer
Newlines at EOF.
New-style classes.