PHP client HTTPS and Example update