[WIP] Extend exception/cert handling

related to #28 
@Zauberstuhl : Yes, now that we know the source of the problem.
Another solution could be to test the certs directly on server start and only shutdown xmpp server if it fails, leaving the d* server run alone ?