Checking for SSL fault on connection

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.