Have regexes for various messages from Android app, but message processing still needs some work.

There's a lot of debugging output in the code right now, will remove
once it's finished. Still testing with Python client since I'm unable to
get the Android app to run on emulator or on device.