logging based on DEBUG_X flags. also fixed bug; turns out the rsa libraries are not
the slightest bit thread safe. has that problem always been there??? they have in the
past occasionally crashed, but hopefully they will no longer do this. and since i had
turned on the ssl debugging, they were kind of always crashing in the threaded tests,
so that was a bit of a signal.