Added MessageHandler class to receive messages from an Android client