urlify - preserve types when sending message
Add tests for invoice.custom_data and payment.params
declare PHP 5.5 compatibility