Refactored the SSL Context initialization, resulting in a much cleaner interface.