Finish TLS support in PHP client code