Extend exception/cert handling

related to #28 
That's a lame excuse to not use system encoding, especially since everybody else uses something ascii compatible.