php httpsqs client