'Constructor.
Args:
host: The hostname the connection was made to.
cert: The SSL certificate (as a dictionary) the host returned.'

def __init__(self, host, cert, reason):

    http_client.HTTPException.__init__(self)
    self.host = host
    self.cert = cert
    self.reason = reason
