WSS-612 Updates CertificateStore to handle certificate chains. This closes #7. Signed-off-by: Colm O hEigeartaigh <coheigea@apache.org>