Made I/O test more useful when debugging is on and updated to deal with newer versions of OpenSSL