Add a debug entry if the response is not "OK|200".
Improve the error handling for the I/O class.