Self contained JSON client in PHP for simplifying access to the Maxemail API