RETS API Wrapper in PHP