Update cexapi.class.php

I think this work better with https.