corrections to handle stunnel key and escrow to level 2 debug