Communicate with BitBox REST API with PHP