PHP Traits mixin for consuming REST APIs