add comments for get client add and resolved bug json_last_error in php version < 5.3