CLEREZZA-899 Wrapped connections to prevent security exceptions. CLEREZZA-900 Removed some boring warnings. Some cleanup of log messages has been performed too.