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.
Merge pull request #675 from VRMink/patch-1

Checking for SSL fault on connection before reading SSL properties