Fix test broken if openssl is compiled without sslv2
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix test broken if openssl is compiled without sslv2