Version 2: getting and posting messages now use AsyncTask, the right way