Support SAN matching and peer_fingerprint in PHP < 5.6
Misc client updates