Moved BIO_ wrappers into the BIO source and added more debugging output