Add read support for sockets & fifos.