Working with RESTful Services in CodeIgniter