If we aren't connected, return `Eof

This is expected behaviour after the other end has disconnected.

The case where {read,write] is called before a connection has been
accepted should be handled by blocking (not in this patch)

Signed-off-by: David Scott <dave.scott@citrix.com>