New API and implementation for blocking and non-blocking I/O.