Use duck typing to call hostname aware checkServerTrusted

This supports X509TrustManagers other than TrustManagerImpl that
implement the hostname aware checkServerTrusted.

Change-Id: Icc4591b32f52c833a49180b198e5dd24294dde37
1 file changed