Command arguments are now represented as JSON arrays, and the
JSON parsing code uses less memory. Previous versions can no
longer receive commands, since they expect command arguments in
the old arg0, arg1, ... form.
Server protocol changes:
* All server requests use Basic access authentication
* There is no more X-Action. Server paths are used instead:
- /send for sending messages, with the destination address
in the X-Destination header.
- /ok for doing nothing. Used for the main activity login status.
Other minor changes:
* Centered the resultTextView in main.xml.
* Utils#parseHttpMessage can parse messages like "(text)".
Until now, the custom server hostname:port were only used in
SendHttpMessageAsyncTask, while PollServerAsyncTask used the
hardcoded http://ieval.ro:7777/get.