#11 unnecessary checks removed; making use of new SSLKeyStore to simplify method parameters.