Beginning switch to non-blocking sockets