ssl-proxies: Fix several race conditions

In particular the race in CertificateIOUtil has caused signing policies
be registered with the wrong hash. This in turn causes certificates
from the corresponding CA to be rejected.
Merge pull request #93 from gbehrmann/fix/races-signing-policy

ssl-proxies: Fix several race conditions