If our alias matches the contact's nickname, it seems like Briar only exposes the author's nickname and leaves out the alias field.
Also refactor socket_listener.py to make it more general.
Also split up login and registration.
It complains about duplicate import lines and I don't want to abstract them now.
For this to work, you have to put this project (GTK) and Android's project into one directory and call the Android's folder "briar-android".