database select methods throw exceptions
log messages on a single line
download client is closing respond
workaround for SSL exception on second connect (?)