xencat: while proxying, End_of_file means we should shutdown cleanly

There is one proxy thread for each direction. When one of these threads
gets End_of_file, it should unblock, shutdown the connection and cleanup.

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