Implemented exceptions class for sslcontext module.