added some logging to the terrible trust manager