Update Hprose for PHP

Add safe_mode detection for HproseCurlHttpClient.