Non blocking sockets

The socket IO no longer blocks on OS buffer overflows.