+ Cleaned up the php code such that warnings are removed. On systems with "display_errors" turned on, some of the php warning is prepended to the JSON output which causes a JSON parse error
+ Moved the ack-messages API to a POST call