Handle a "Connection: Close" header better
Return HT_IO_ERROR when a file open error occurs