Checking for SSL fault on connection before reading SSL properties

If the server on the endpoint does not support SSL correctly, a response.client object may not be available. Check before reading properties from response.client.