java-php initial thrift communication