working on php client SSL